#!/bin/env python
#-*- coding:utf-8 -*-
########################################
#Author:qingbo.song                    #
#Date:2015.11.12                       #
#E-mail:qingbo.song@apicloud.com       #
#Comment: log_cut.py                   #
#Path:/opt/shell                       #
#crontab:							   #
#0 2 * * * python /opt/shell/log_cut.py#
#Version:V 1.0                         #
########################################

import time
import datetime

ISOTIMEFORMAT = '%Y-%m-%d'
nowDate = time.strftime(ISOTIMEFORMAT,time.localtime())
beforDate = time.s